class person:
    def __init__(self,name):
        self.name = name
    def who (self):
        print('我是一个人,我的名字是{}'.format(self.name))
class student(person):
    def __init__(self, name, score):
                super().__init__(name)
                self.score = score
    def who(self):
                    print('我是一个人,我的名字是{},我的语文成绩是{}'
                    .format(self.name, self.score))
                    class teacher(person):
    def __init__(self, name,course):
    super().__init__(name)
    self.course =
    def who(self):
        print('我是一个老师,我的名字是{}, 我教{}'
              .format(self.name, self.course))
        def showinfo(x):
            x.who()
            p =person('小蓝')
            s =student('小明',88)
            t =teacher('糖果''语文')
            showinfo(p)
            showinfo(s)
            showinfo(t)

            # 李鹏宇